import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state = {
    showHeader: false,
    changeNum: 1
}

const mutations = {
    increment(state, data) {
        state.showHeader = data
    }
};

export default new Vuex.Store({
    state,
    mutations
})